<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .box{
            margin: 100px;
            width: 200px;
            height: 100px;
            background-color: pink;
            /* border: 5px dotted orangered; */
            filter: drop-shadow(8px 8px 5px rgba(0,0,0,.5));
            position: relative;
        }
        .box::after{
            display: block;;
            content: "";
            width: 0px;
            height: 0px;
            position: absolute;
            border: 20px solid transparent;
            border-left-color: pink;
            right: -40px;
            top: 30px;

        }
        .xbox{
            width: 200px;
            height: 100px;
            
            /* background:lightsalmon; */
            border: 15px dotted lightskyblue;
             filter: drop-shadow(2px 2px 10px rgba(0,0,0,.5));  
           
                                                 
        }
    </style>
</head>
<body>
    <div class="box"></div>
    <div class="xbox"></div>
</body>
</html>